package com.smartfactory.sail.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.smartfactory.sail.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smartfactory.sail.vo.user.ListUserResp;
import com.smartfactory.sail.vo.user.UserInfoResp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 员工管理 Mapper 接口
 * </p>
 *
 * @author 王巨壁
 * @since 2019-07-25
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {


    IPage<ListUserResp> getPage(IPage<ListUserResp> page, @Param("ew") Wrapper<ListUserResp> queryWrapper);

    UserInfoResp userInfo(@Param("userId") long userId);
}

